package cn.zb.zbrhback.org.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "员工实体类",description = "员工的所有字段")
public class Employee {
    @ApiModelProperty(value = "主键id")
    private Long id;
    @ApiModelProperty(value = "员工名")
    private String username;
    @ApiModelProperty(value = "员工密码")
    private String password;
    @ApiModelProperty(value = "员工邮箱")
    private String email;
    @ApiModelProperty(value = "员工头像")
    private String headImage;
    @ApiModelProperty(value = "员工年龄")
    private Integer age;
    @ApiModelProperty(value = "员工部门")
    private Department dept;
    @ApiModelProperty(value = "部门id")
    private Long department_id;

}
